package com.dongdongshop.service.Brand;

import com.dongdongshop.data.Page;
import com.dongdongshop.pojo.brand.TbBrand;

import java.util.List;


/**
 * @Author Eayon
 * @Date 2020/2/21 16:46
 */
public interface BrandService {
    Page<TbBrand> getBrandInfo(Integer pageNum, Integer pageSize);

    void addBrand(TbBrand b);

    TbBrand getBrandById(Long id);

    void updateBrandById(TbBrand b);

    void deleteBrandById(Long id);

    List<TbBrand> findBrandsAll();

}
